﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AbstractClasses
{
    public class DerivedClass : BaseClass
    {
        public DerivedClass():base()
        {

        }
        public override void AbstractMethod()
        {
            Console.WriteLine("Abstract Method");
        }

        public override void VirtualMethod()
        {
            base.VirtualMethod();
            Console.WriteLine("Virtual Method overriding");
        }

        public void JustMethod()
        {
            //base.JustMethod();
            Console.WriteLine("Just Method in Derived class");
        }

    }
}
